package org.example.campsys.model;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class UserInfo {
    private Integer id;
    private String loginName;
    private String password;
    private String gender; //M表示男，F表示女
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    private String phone;
    private String email;
    private String status;//1表示正常，2表示异常，已被删除
    private Integer roleId;
}
